package com.itheima.wisdomnext.entity;

import java.sql.Timestamp;

public class Report {

    private Integer id;          // 举报记录 ID
    private Integer reporterId;  // 举报者 ID
    private Integer targetId;    // 被举报目标 ID
    private String targetType;   // 被举报目标类型（'POST' 或 'COMMENT'）
    private String reason;       // 举报原因
    private Timestamp createdAt; // 举报时间
    private Integer reportreasonId;  // 举报理由 ID


    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getReporterId() {
        return reporterId;
    }

    public void setReporterId(Integer reporterId) {
        this.reporterId = reporterId;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    public Integer getReportreasonId() {
        return reportreasonId;
    }

    public void setReportreasonId(Integer reportreasonId) {
        this.reportreasonId = reportreasonId;
    }
}
